/*
 * @Description:
 * @Version: 1.0.0
 * @Author: gyh
 * @Date: 2021-08-17 22:28:59
 * @LastEditors: gyh
 * @LastEditTime: 2021-08-17 22:58:12
 */
import { createApp } from 'vue'
import { useElement } from './utils/element'
import App from './App.vue'
import router from './router'
import store from './store'
import api from '@/api'
import '@/assets/styles/main.scss'

const app = createApp(App)

app.use(router) // router
app.use(store) // store
useElement(app)
app.config.globalProperties.$api = api
app.mount('#app')
